<%@taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html"%>
<%@taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page import="engineer.clientapp.tools.ShowAutomats"%>
<%@ page import="java.util.ArrayList"%>
<%@ page import="engineer.clientapp.beans.User" %>

<%
User user=(User)session.getAttribute("user");

%>
<%if (session.getAttribute("user") == null) {%>
<h1>Brak dostępu do tej strony!</h1>
<%}else{ 
	int id=user.getId();
	String userID=String.valueOf(id);
%>

<h2>Informacje od Automatów</h2>
<div id="gallery_container">
<input type="hidden" value="<%=userID%>" id="id" name="id" />


<div id="message" onload="showMessages()">


</div>
</div>

<script type="text/javascript" src="js/showMessages.js"></script>
<script type="text/javascript" src="js/read.js"></script>
<%}%>